using System;

namespace Shared.UI
{
    public class UDefModel
    {
        public Enum Id;
        public Enum UpId;
        public string Module;
        public UIType Type;
        public UINode Node;
        public string Layer;

        public UDefModel(Enum id, UIType type, UINode node, string layer, Enum up)
        {
            Id = id;
            Module = id.ToString();
            Type = type;
            Node = node;
            Layer = layer;
            UpId = up;
        }
    }

    public enum UIType
    {
        None,
        Fixed,
        Shared,
    }

    public enum UINode
    {
        Top,
        Node,
    }
}